package com.prs.crm.service.oa;

import java.io.File;
import java.util.Collection;
import java.util.Date;

import com.prs.crm.domain.hr.Person;
import com.prs.crm.domain.oa.Schedule;
import com.prs.crm.service.BaseService;

public interface ScheduleService extends BaseService<Schedule>{
	public void saveSchedule(Schedule schedule,File file,String fileName);
	Collection<Schedule> getExecuteSchedule(Person person);
	Collection<Schedule> getAuditSchedule(Person person);
	Collection<Schedule> getOverdueSchedule(Person person);
	Collection<Object[]> getScheduleReportDataSouce(String state, Date datestart, Date dateend, Collection<Person> persons);
	Collection<Schedule> getExecuteScheduleByLevel(Person person,String level);
	
}
